<?php
	class Template extends Model_Abstract{
				
		public function getTemplate($tag, $site_template){
			$template_name = Q::ini('templates_root').'/'.$site_template . '/email/' . $tag . '.html';
			if(file_exists($template_name)){
				if(is_readable($template_name)){
					$template = file_get_contents($template_name);
					return $template;
				} else {
					
				}
			} else {
				
			}
			return false;
		}
		
	}